/* 科技感背景效果 */
.tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 25% 25%, #1a1a2e 0%, #16213e 25%, #0f0f23 50%);
  overflow: hidden;
}

.tech-bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, #00d4ff, transparent),
    radial-gradient(1px 1px at 40px 70px, #8b5cf6, transparent),
    radial-gradient(1px 1px at 90px 40px, #10b981, transparent),
    radial-gradient(1px 1px at 130px 80px, #00d4ff, transparent),
    radial-gradient(1px 1px at 160px 30px, #8b5cf6, transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: float 20s infinite linear;
  opacity: 0.3;
}

/* 玻璃态效果 */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dark .glass-effect {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 霓虹边框效果 */
.neon-border {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(45deg, #00d4ff, #8b5cf6, #10b981) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
}

.neon-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  background: linear-gradient(45deg, #00d4ff, #8b5cf6, #10b981);
  z-index: -1;
  filter: blur(10px);
  opacity: 0.7;
  animation: neon-pulse 2s ease-in-out infinite alternate;
}

/* 悬浮发光效果 */
.hover-glow {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hover-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hover-glow:hover::before {
  left: 100%;
}

.hover-glow:hover {
  box-shadow: 
    0 0 20px rgba(0, 212, 255, 0.5),
    0 0 40px rgba(139, 92, 246, 0.3),
    0 0 60px rgba(16, 185, 129, 0.2);
  transform: translateY(-3px) scale(1.02);
}

/* 数据流动效果 */
.data-stream {
  position: relative;
  overflow: hidden;
}

.data-stream::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 98px,
    rgba(0, 212, 255, 0.1) 100px
  );
  animation: data-flow 3s linear infinite;
}

/* 进度条科技效果 */
.tech-progress {
  background: linear-gradient(90deg, #00d4ff, #8b5cf6, #10b981);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.tech-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 30px 30px;
  animation: tech-move 1s linear infinite;
}

/* 状态指示器 */
.status-indicator {
  position: relative;
  display: inline-block;
}

.status-indicator::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: radar 2s linear infinite;
}

.status-indicator.online::before {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

.status-indicator.offline::before {
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

.status-indicator.busy::before {
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
}

/* 图表占位符 */
.chart-placeholder {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(16, 185, 129, 0.1) 100%);
  border: 2px dashed rgba(0, 212, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.chart-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(0, 212, 255, 0.1), transparent);
  animation: scan 4s linear infinite;
}

/* 按钮科技效果 */
.cyber-button {
  position: relative;
  background: linear-gradient(45deg, #00d4ff, #8b5cf6);
  border: none;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cyber-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.cyber-button:hover::before {
  left: 100%;
}

/* 卡片悬浮效果 */
.tech-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.tech-card:hover {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 212, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 文字科技效果 */
.cyber-text {
  background: linear-gradient(45deg, #00d4ff, #8b5cf6, #10b981, #00d4ff);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: cyberpunk 3s ease infinite;
}

.tech-gradient {
  background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00d4ff, #8b5cf6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #8b5cf6, #10b981);
}

